mod handler;
mod utility;
mod entity;
mod middleware;
mod graphql;
mod config;
pub mod app;
mod test;
mod scheduler;

use app::run;
use mimalloc::MiMalloc;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

#[tokio::main]
async fn main() {
    run().await.expect("server error");
}


